#ifndef	EYER_COLOR_SPACE_RENDER_THREAD_H
#define	EYER_COLOR_SPACE_RENDER_THREAD_H

#include "EyerThread/EyerThread.hpp"
#include "EyerGLCustomComponent/EyerGLCustomComponent.hpp"

#include <emscripten.h>
extern "C" {
    #include "html5.h"
}

namespace Eyer
{
    class RenderThread : public EyerThread
    {
    public:
        RenderThread(EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context);
        ~RenderThread();

        virtual void Run();

    private:
        EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context;

        Eyer::EyerGLJulia * julia = nullptr;
    };
}

#endif